<label>Data</label>
<input type="text" name="dataFilter" id="dataFilter" value="<?= $this->data?>"/>
<table class="table">
    <thead>
        <tr>
            <th>Código</th>
            <th>Reservada</th>
            <th>Lugares</th>
            <th>Horário</th>
            <th>Observações</th>
            <th>Editar</th>
            <th>Excluir</th>
        </tr>
    </thead>
    <tbody>
        <?php foreach ($this->mesas as $mesa):?>
            <tr>
                <td><?=$mesa['idmesa']?></td>
                <td><?=$mesa['res']?></td>
                <td><?=$mesa['lugares']?></td>
                <td><?=$mesa['hora']?></td>
                <td><?=$mesa['observacoes']?></td>
                <td><a href="/reserva/reserva/edita?mesa=<?=$mesa['idmesa']?>&data=<?= $this->data?>">X</a></td>
                <td><a href="/reserva/reserva/exclui?mesa=<?=$mesa['idmesa']?>&data=<?= $this->data?>">X</a></td>
            </tr>
        <?php endforeach;?>
    </tbody>
    
</table>
    